
from services.errors.base import BaseServiceError


class RobHardwareVersionNotExistError(BaseServiceError):
    pass

class FirewareParamsError(BaseServiceError):
    def __init__(self,description:str):
        self.description = description
        super().__init__(description)
class FirewareVersionNotExistError(BaseServiceError):
    def __init__(self,fver_id:str):
        self.fver_id = fver_id
        super().__init__(fver_id)

class FVerTaskNotExistError(BaseServiceError):
    def __init__(self,task_id:str):
        self.task_id = task_id
        super().__init__(task_id)

class FVerTaskResultNotExistError(BaseServiceError):
    def __init__(self,task_id:str):
        self.task_id = task_id
        super().__init__(task_id)